<!DOCTYPE html>
<html>
<head>
	<title>用户列表</title>
	<link rel="stylesheet" type="text/css" href="/Template/admin/default/css/css.css">
</head>
<body>
<div class="content">
	<div class="curr-position">当前位置：用户管理 &gt; 用户列表</div>
	<div class="page-top">
		<span class="fl">目前前台用户不支持增加，微信关注即可</span>
		<span class="fr"><a href="javascript:location.reload();">刷新</a></span>
	</div>
	<table class="data-tab">
		<thead>
			<tr>
				<th class="id">ID</th>
				<th>昵称</th>
				<th>手机</th>
				<th>性别</th>
				<th>区域</th>
				<th>openid</th>
				<th>unionid</th>
				<th>关注时间</th>
				<th>关注状态</th>
				<th>身份</th>
				<th>关联</th>
				<th class="operation">操作</th>
			</tr>
		</thead>
		<tbody>
		<volist name="userlist" id="vo">
			<tr>
				<td class="id">{{$vo.id}}</td>
				<td class="id">{{$vo.username}}</td>
				<td>{{$vo.mobile|default='----'}}</td>
				<td><if condition="$vo[sex] eq 1">男<else/>女</if></td>
				<td>{{$vo.country}} {{$vo.province}} {{$vo.city}}</td>
				<td>{{$vo.openid|default='----'}}</td>
				<td>{{$vo.unionid|default='----'}}</td>
				<td>{{$vo.followtime|dateFormat='full'}}</td>
				<td>
					<if condition="$vo[status] eq 0">
						<span class="disabled">已取关</span>
					<else />
						<span class="available">已关注</span>
					</if>
				</td>
				<td>
					<if condition="$vo[type] eq 3">管<elseif condition="$vo[type] eq 1" />维<else/>普</if>
				</td>
				<td>{{$vo.mid|default='-'}}</td>
				<td>
				 <a href="{{:U('admin/user/edit',array('id'=>$vo[id]))}}">编辑</a> <a href="{{:U('admin/user/delete',array('id'=>$vo[id]))}}">删除</a></td>
			</tr>
		</volist>
		</tbody>
	</table>
	<div class="pagenation">{{$page}}</div>
</div>
</body>
</html>